﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Emerson.Storage.Entities
{
    public interface IStation
    {
        List<IContainer> Containers { get; set; }
    }

    public interface IContainer
    {
        List<IStockItem> StockItems { get; set; }
    }

    public interface ICompositeContainer : IContainer
    {
        List<IContainer> ChildernContainers { get; set; }
    }

    public interface IStockConainter : IContainer
    {
        List<IInventory> Inventories { get; set; }
    }

    public interface IInventory
    {
        IStockConainter Container { get; set; }
        IStockItem Item { get; set; }
        int Number { get; set; }
        DateTime? ModifiedTime { get; set; }
    }

    public interface IStockItem
    {
        List<IInventory> Inventories { get; set; }
    }
}
